import './playground.scss';
declare var require;

interface PlaygroundDom {
    playground: HTMLElement;
}

class Playground {
    dom: PlaygroundDom = {
        playground: null
    };
    constructor() {}
    setDom() {
        this.dom.playground = document.querySelector('#playground');
    }
    execute() {
        this.setDom();
    }
}

export default function playground() {
    
    return {
        controller: new Playground(),
        html: require('./playground.html')
    };
}
